package com.zhenwei.zscm.mappings;

import com.zhenwei.zscm.entity.FileRelationEntity;
import com.zhenwei.zscm.model.dto.file.FileRelationDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface FileRelationMapping {
    FileRelationMapping INSTANCE = Mappers.getMapper(FileRelationMapping.class);
    FileRelationEntity dto2Entity(FileRelationDTO dto);
    FileRelationDTO entity2Dto(FileRelationEntity entity);
}
